package org.iartisan.maven.plugin.jdbc.bean;

/**
 * <p>
 * table bean
 *
 * @author King
 * @since 2017/8/31
 */
public class TableColumn {

    private String column;//column

    private String property;//property

    private String jdbcType;//jdbcType

    private String javaType;//javaType

    private String comment;//comment

    private boolean primaryKey = false;//是否为主键

    private String importPackage;//针对javaType import的package路径

    public String getColumn() {
        return column;
    }

    public void setColumn(String column) {
        this.column = column;
    }

    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public String getJdbcType() {
        return jdbcType;
    }

    public void setJdbcType(String jdbcType) {
        this.jdbcType = jdbcType;
    }

    public boolean isPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(boolean primaryKey) {
        this.primaryKey = primaryKey;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getComment() {
        return comment;
    }

    public String getJavaType() {
        return javaType;
    }

    public void setJavaType(String javaType) {
        this.javaType = javaType;
    }

    public String getImportPackage() {
        return importPackage;
    }

    public void setImportPackage(String importPackage) {
        this.importPackage = importPackage;
    }
}
